package com.itqian.seller.mapper;

import com.itqian.seller.entity.StoreInfo;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 餐厅商店信息表 Mapper 接口
 * </p>
 *
 * @author shishuqian
 * @since 2022-03-21
 */
public interface StoreInfoMapper extends BaseMapper<StoreInfo> {

    /**
     *
     * @author shishuqian
     * @desc   根据seller_id查询店铺的id
     */
    Integer getStoreIdBySellerId(Integer sellerId);

    String getStoreNameById(Integer id);

    boolean setIcon(Integer storeId,String icon);
}
